// pages/personal/myAccount/commonProblem/commonProblem.js
import api from '../../../../utils/api.js'
Page({

	/**
	 * 页面的初始数据
	 */
	data: {

	},

	/**
	 * 生命周期函数--监听页面加载
	 */
	onLoad: function(options) {
		var that = this;
		that.getData();
	},
	getData() {
		let that = this;
		var WxParse = require('../../../wxParse/wxParse.js');
		let url = "sys/sysconfig";
		let data = {};
		var p = '<p>我是HTML代码</p>';
		apis.request(url, data, 'POST').then(function(res) {
			that.setData({
				serData: res.data.server
			})
			var conts = that.data.serData.fee_standard_user
			WxParse.wxParse('conts', 'html', conts, that, 0);
		}).catch(function(res) {})
	},
})
